Skip to content

Conversation

@JoshuaBatty
Copy link
Member

Summary

Fixes the release workflow failing for forc-client because it produces multiple binaries (forc-deploy, forc-run, forc-submit, forc-call) rather than a single forc-client binary.

The workflow now:

  • Extracts binary names from [[bin]] sections in Cargo.toml
  • Falls back to crate name for crates using src/main.rs
  • Iterates over each binary when stripping and packaging

When you release forc-client-0.71.0, it will create:

forc-client-0.71.0-linux_amd64.tar.gz
├── forc-deploy
├── forc-run
├── forc-submit
└── forc-call

Context

Test plan

  • Tested binary extraction logic locally for forc-client, forc-crypto, forc-node
  • Verify CI passes on this PR
  • Test with actual forc-client release

forc-client produces forc-deploy, forc-run, forc-submit, and forc-call
binaries rather than a single forc-client binary. The workflow now
extracts binary names from [[bin]] sections in Cargo.toml and iterates
over each when stripping and packaging.
@cursor
Copy link

cursor bot commented Feb 3, 2026

PR Summary

Medium Risk
Changes release artifact stripping/packaging logic in GitHub Actions; mistakes could break publishing or produce incomplete archives across targets, though runtime product code is untouched.

Overview
Fixes the release workflow to support crates that produce multiple binaries by extracting binary names from [[bin]] entries in Cargo.toml and iterating over them for stripping and asset packaging (with a fallback to the crate name when using src/main.rs).

Bumps forc-client to 0.71.1 and updates its changelog to reflect the first release from this repository.

Written by Cursor Bugbot for commit 485f81d. This will update automatically on new commits. Configure here.

@JoshuaBatty JoshuaBatty self-assigned this Feb 3, 2026
@JoshuaBatty JoshuaBatty added ci Everything CI related forc-client Everything related to the `forc-client` crate. labels Feb 3, 2026
@JoshuaBatty JoshuaBatty merged commit 73ac2df into main Feb 4, 2026
14 of 15 checks passed
@JoshuaBatty JoshuaBatty deleted the josh/ci_build branch February 4, 2026 00:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci Everything CI related forc-client Everything related to the `forc-client` crate.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant